﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using SMS.WebUI.App_LocalResources;

namespace SMS.WebUI.Models
{
    public class OngDelegacionModel
    {
        public int OngDelId { get; set; }

        [Display(Name = "OngDelNombre", ResourceType = typeof(ValidationMessages))]
        [StringLength(100, ErrorMessageResourceName = "OngDelNombreStringLength", ErrorMessageResourceType = typeof(ValidationMessages))]
        [Required(ErrorMessageResourceName = "OngDelNombreIsRequired", ErrorMessageResourceType = typeof(ValidationMessages))]
        public string Nombre { get; set; }
    }
}
